﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Type
{
    public class QueueConstant
    {
        public const string DEFAULT_QUEUE_NAME = "Common.Queues";
        public const string QUEUENAME_PREFIX = ".\\Private$\\";
        public const string LOCAL_SYSTEM_ACCOUNT = "SYSTEM";
        public const string EVERYONE_ACCOUNT = "Everyone";

        public static string QueueName
        {
            get
            {
                string result = string.Format("{0}{1}", QUEUENAME_PREFIX, ConfigurationManager.AppSettings["QueueName"]);
                return result;
            }
        }
    }
}
